package power.game.sixtysix.entity;

public enum CardValue {

	Also(2), Felso(3), Kiraly(4), Tiz(10), Asz(11);
	
	private int value;
	
	CardValue(int value) {
		this.value = value;
	}
	
	public int getValue() {
		return value;
	}
	
	public int compare(CardValue other) {
		if (value == other.getValue()) {
			return 0;
		} else if (value > other.getValue()) {
			return 1;
		} else {
			return -1;
		}
	}
}
